Bentley Map V8i (SELECTseries 10) Help

Indexed Variables

Use variables referenced by an index. The variables are in arrays.

Example:

abc[1] = 315
abc[2] = 993
abc[3] = 7332

The elements in an array are simple variables. It is possible to have any number of elements in an array and can use any integer index value. The index does not have to start with 1. It is possible to have missing elements (holes) in an array.

A script has a number of functions used to handle the arrays. Use the function count (array-name) to find the numbers of elements in an array.

Example: n = count(abc)